package com.coder.rental.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coder.rental.entity.CarBrand;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 汽车品牌 服务类
 * </p>
 *
 * @author zhaojj
 * @since 2025-01-10
 */
public interface ICarBrandService extends IService<CarBrand> {
    Page<CarBrand> searchByPage(Page<CarBrand>page, CarBrand carBrand);

    List<CarBrand> selectByMakerId(Integer makerId);

    boolean hasCar(Integer brandId);

    List<CarBrand> selectAll();
}
